package com.zxx.javapattern.chainOfResponsibility.demo4;

public class SaleLogicCheck extends SaleHandler{
    @Override
    public boolean sale(String user, String customer, SaleModel saleModel) {
        //进行数据的逻辑性检查.比如id唯一性,主外键关联等等,这里默认通过
        return this.successor.sale(user,customer,saleModel);
    }
}
